<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>用户登录</title>
    <style>
        *{
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body{
            font-size: 14px;
        }
        .container{
            width: 600px;
            height: 600px;
            /*border: 1px solid #808080;*/
            /*border-radius: 3px;*/
            margin: 0 auto;
            margin-top: 40px;
            padding: 10px;
        }
        .form-group{
            overflow: hidden;
            line-height: 40px;
            margin-bottom: 20px;
        }
        .label{
            text-align: left;
            width: 20%;
            float: left;
        }
        .control{
            width: 70%;
            float: left;
        }
        .control input[type="text"],input[type="password"]{
            width: 80%;
            padding: 10px;
            border: 1px solid darkgray;
            border-radius: 2px;
        }
        .control button{
            height: 40px;
            border: 1px solid darkgray;
            border-radius: 2px;
            width: 80%;
        }
        .container form{
            margin-top: 20px;
            margin-bottom: 50px;
        }
    </style>
</head>
<body>
    <div class="container">
        <form>
            <div class="form-group">
                <div class="label">
                    <label for="username">用户名:</label>
                </div>
                <div class="control">
                    <input type="text" id="username" name="username" placeholder="用户名">
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="password">密码:</label>
                </div>
                <div class="control">
                    <input type="password" id="password" name="password" placeholder="密码">
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="submit" style="visibility: hidden">登陆</label>
                </div>
                <div class="control">
                    <button type="submit" id="submit">登陆</button>
                </div>
            </div>

        </form>

    </div>
</body>
</html>